package com.zmht.beike.biz;

import java.util.List;

import com.zmht.beike.core.BaseBiz;
import com.zmht.beike.po.TIweekcontent;

public interface IWeekContentBiz extends BaseBiz {
	/**
	 * 获得记录
	 * @param teacherId
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public List getIweekcontent(String teacherId,Integer iaimId,Integer month,Integer week,int startIndex,int pageSize);
	/**
	 * 获得记录总数
	 * @param teacherId
	 * @return
	 */
	public int getIweekcountTotal(String teacherId,Integer iaimId,Integer month,Integer week);
	/**
	 * 保存记录
	 * @param weekcontent
	 * @returnk
	 */
	public boolean saveIWeekContent(TIweekcontent weekcontent);
	/**
	 * 删除记录
	 * @param id
	 * @return
	 */
	public boolean deleteIWeekContent(java.io.Serializable id);
	/**
	 * 更新记录
	 * @param id
	 * @return
	 */
	public boolean updateIWeekContent(TIweekcontent weekcontent);
	/**
	 * 获得记录
	 * @param id
	 * @return
	 */
	public TIweekcontent findById(java.io.Serializable id);
	
	public List getIweekcontentEdit(Integer targetId,Integer teacherId,Integer month,String week,int startIndex,int pageSize);
	public int getIweekcontentEditTotal(Integer targetId,Integer teacherId,Integer month,String week);
}
